package com.kayt.cyberBar.cuser.business.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.cuser.business.entity.req.vo.TaskModelReqVO;
import com.kayt.cyberBar.cuser.business.entity.rsp.vo.TaskModelRspVO;


@Path("/taskModel")
public interface ITaskModelService {
	@GET
	@Path("getModelListByStore.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	ServerResponse<PageData<TaskModelRspVO>> getModelListByStore(@QueryParam("")TaskModelReqVO reqVO);
	
	@POST
	@Path("addModel.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	ServerResponse<TaskModelRspVO> addModel(TaskModelReqVO reqVO);
	
	@POST
	@Path("updataModel.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	ServerResponse<TaskModelRspVO> updateModel(TaskModelReqVO reqVO);
	
	@POST
	@Path("inputModel.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	ServerResponse<String> inputModel(TaskModelReqVO reqVO);
	
	@POST
	@Path("mergeModel.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	ServerResponse<String> mergeModel(TaskModelReqVO reqVO);
	
	@POST
	@Path("splitModel.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	ServerResponse<String> splitModel(TaskModelReqVO reqVO);
}
